[INFO] cloning repository https://github.com/victor-iyiola/rust-snake
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/victor-iyiola/rust-snake" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvictor-iyiola%2Frust-snake", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvictor-iyiola%2Frust-snake'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9061d01be4a6000289c89bac90c423697eb755a5
[INFO] building victor-iyiola/rust-snake against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvictor-iyiola%2Frust-snake" "/workspace/builds/worker-5/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/victor-iyiola/rust-snake on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/victor-iyiola/rust-snake
[INFO] finished tweaking git repo https://github.com/victor-iyiola/rust-snake
[INFO] tweaked toml for git repo https://github.com/victor-iyiola/rust-snake written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] crate git repo https://github.com/victor-iyiola/rust-snake already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8c907455d950033bfd8bd418a51b4da7c3344a8558abcb24c6a883dc997971be
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "8c907455d950033bfd8bd418a51b4da7c3344a8558abcb24c6a883dc997971be", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8c907455d950033bfd8bd418a51b4da7c3344a8558abcb24c6a883dc997971be", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8c907455d950033bfd8bd418a51b4da7c3344a8558abcb24c6a883dc997971be", kill_on_drop: false }`
[INFO] [stdout] 8c907455d950033bfd8bd418a51b4da7c3344a8558abcb24c6a883dc997971be
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 347d7826d0ce57ead55b84fd8cc5c3ae136c89b6cefe0bf6f8b9baad85e19c99
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "347d7826d0ce57ead55b84fd8cc5c3ae136c89b6cefe0bf6f8b9baad85e19c99", kill_on_drop: false }`
[INFO] [stderr]    Compiling bitflags v1.0.5
[INFO] [stderr]    Compiling cfg-if v0.1.7
[INFO] [stderr]    Compiling libc v0.2.54
[INFO] [stderr]    Compiling proc-macro2 v0.4.29
[INFO] [stderr]    Compiling syn v0.15.33
[INFO] [stderr]    Compiling num-traits v0.2.6
[INFO] [stderr]    Compiling khronos_api v2.2.0
[INFO] [stderr]    Compiling scopeguard v0.3.3
[INFO] [stderr]    Compiling cc v1.0.36
[INFO] [stderr]    Compiling arrayvec v0.4.10
[INFO] [stderr]    Compiling nodrop v0.1.13
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling piston-float v0.3.0
[INFO] [stderr]    Compiling num-integer v0.1.39
[INFO] [stderr]    Compiling autocfg v0.1.2
[INFO] [stderr]    Compiling downcast-rs v1.0.4
[INFO] [stderr]    Compiling serde v1.0.90
[INFO] [stderr]    Compiling stable_deref_trait v1.1.1
[INFO] [stderr]    Compiling num-derive v0.2.5
[INFO] [stderr]    Compiling num-iter v0.1.37
[INFO] [stderr]    Compiling nix v0.11.0
[INFO] [stderr]    Compiling adler32 v1.0.3
[INFO] [stderr]    Compiling num-rational v0.2.1
[INFO] [stderr]    Compiling lzw v0.10.0
[INFO] [stderr]    Compiling either v1.5.2
[INFO] [stderr]    Compiling color_quant v1.0.1
[INFO] [stderr]    Compiling scoped_threadpool v0.1.9
[INFO] [stderr]    Compiling percent-encoding v1.0.1
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling x11-dl v2.18.3
[INFO] [stderr]    Compiling stb_truetype v0.2.6
[INFO] [stderr]    Compiling parking_lot_core v0.3.1
[INFO] [stderr]    Compiling log v0.4.6
[INFO] [stderr]    Compiling crossbeam-utils v0.2.2
[INFO] [stderr]    Compiling piston-viewport v0.3.0
[INFO] [stderr]    Compiling vecmath v0.3.1
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling owning_ref v0.4.0
[INFO] [stderr]    Compiling unreachable v1.0.0
[INFO] [stderr]    Compiling deflate v0.7.19
[INFO] [stderr]    Compiling inflate v0.4.5
[INFO] [stderr]    Compiling gif v0.10.1
[INFO] [stderr]    Compiling lock_api v0.1.5
[INFO] [stderr]    Compiling xml-rs v0.7.0
[INFO] [stderr]    Compiling draw_state v0.8.0
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling libloading v0.5.0
[INFO] [stderr]    Compiling num_cpus v1.10.0
[INFO] [stderr]    Compiling rand v0.5.6
[INFO] [stderr]    Compiling memmap v0.6.2
[INFO] [stderr]    Compiling shared_library v0.1.9
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling gl_generator v0.9.0
[INFO] [stderr]    Compiling wayland-scanner v0.20.12
[INFO] [stderr]    Compiling quote v0.6.12
[INFO] [stderr]    Compiling osmesa-sys v0.1.2
[INFO] [stderr]    Compiling crossbeam-epoch v0.3.1
[INFO] [stderr]    Compiling crossbeam-deque v0.2.0
[INFO] [stderr]    Compiling num-traits v0.1.43
[INFO] [stderr]    Compiling dlib v0.4.1
[INFO] [stderr]    Compiling rayon-core v1.4.1
[INFO] [stderr]    Compiling ordered-float v0.5.2
[INFO] [stderr]    Compiling wayland-sys v0.20.12
[INFO] [stderr]    Compiling wayland-client v0.20.12
[INFO] [stderr]    Compiling wayland-protocols v0.20.12
[INFO] [stderr]    Compiling rusttype v0.4.3
[INFO] [stderr]    Compiling wayland-commons v0.20.12
[INFO] [stderr]    Compiling png v0.12.0
[INFO] [stderr]    Compiling rayon v1.0.3
[INFO] [stderr]    Compiling gl v0.10.0
[INFO] [stderr]    Compiling glutin v0.18.0
[INFO] [stderr]    Compiling gfx_gl v0.5.0
[INFO] [stderr]    Compiling piston2d-graphics v0.26.0
[INFO] [stderr]    Compiling parking_lot v0.6.4
[INFO] [stderr]    Compiling jpeg-decoder v0.1.15
[INFO] [stderr]    Compiling smithay-client-toolkit v0.3.0
[INFO] [stderr]    Compiling winit v0.17.2
[INFO] [stderr]    Compiling derivative v1.0.2
[INFO] [stderr]    Compiling serde_derive v1.0.90
[INFO] [stderr]    Compiling tiff v0.2.2
[INFO] [stderr]    Compiling gfx_core v0.8.3
[INFO] [stderr]    Compiling image v0.20.1
[INFO] [stderr]    Compiling gfx v0.17.1
[INFO] [stderr]    Compiling gfx_device_gl v0.15.5
[INFO] [stderr]    Compiling piston-gfx_texture v0.34.0
[INFO] [stderr]    Compiling piston2d-gfx_graphics v0.52.0
[INFO] [stderr]    Compiling pistoncore-input v0.21.0
[INFO] [stderr]    Compiling pistoncore-window v0.32.0
[INFO] [stderr]    Compiling pistoncore-event_loop v0.37.0
[INFO] [stderr]    Compiling pistoncore-glutin_window v0.48.0
[INFO] [stderr]    Compiling piston v0.37.0
[INFO] [stderr]    Compiling piston_window v0.81.0
[INFO] [stderr]    Compiling snake v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `draw`
[INFO] [stdout]  --> src/snake.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use draw::draw_block;
[INFO] [stdout]   |     ^^^^ help: a similar path exists: `crate::draw`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `use` statements changed in Rust 2018; read more at <https://doc.rust-lang.org/edition-guide/rust-2018/module-system/path-clarity.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/snake.rs:78:29
[INFO] [stdout]    |
[INFO] [stdout] 78 |     let head_block: Block = self.body.front().unwrap();
[INFO] [stdout]    |                     -----   ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `Block`, found `&Block`
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     expected due to this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `snake`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "347d7826d0ce57ead55b84fd8cc5c3ae136c89b6cefe0bf6f8b9baad85e19c99", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "347d7826d0ce57ead55b84fd8cc5c3ae136c89b6cefe0bf6f8b9baad85e19c99", kill_on_drop: false }`
[INFO] [stdout] 347d7826d0ce57ead55b84fd8cc5c3ae136c89b6cefe0bf6f8b9baad85e19c99
